{% extends "menu.html" %}
{% block content %}

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">



            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>跨平台集中管理列表</h2>

                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <br />
                      <table class="sui-table table-bordered">
                          <thead>
                            <tr>
                                <th>id</th>
                                <th>平台名称</th>
                                <th>平台地址</th>
                                <th>管理</th>
                            </tr>
                          </thead>
                          <tbody>
                          <style type="text/css">
                             tr:hover{
                                 background-color: #FFFFE0;
                             }
                          </style>
                          {% for i in web_list %}
                            <tr>

                                <td>{{ i.id}}</td>
                                <td>{{ i.web_name }}</td>
                                <td><a href="{{ i.web_url }}" >{{ i.web_url }}</a></td>
                                <td><a href="/webadmin/del/?id={{ i.id }}">删除</a> | <a href="/webadmin/update/?id={{ i.id }}">更新</a> </td>
                            </tr>
                        {% endfor %}
                          </tbody>
                      </table>
                  </div>
                </div>
              </div>
            </div>


          </div>
        </div>
{% endblock %}